define(['mCommon'], function (MCommon) {
    function Role(params) {
        this.fields=[
            {name:'name',alias:'名称',validator:['required']},
            {name:'order',alias:'排序'},
            {name:'power',alias:'权限',validator:['required'],type:'tree',url:'/dhxy/rest/menus/tree'}
        ];
        this.proxy = {url:'/roles'}
        this.form ='RoleForm';
        this.callParent(params);
    }

    Role.extend(MCommon);

    return Role;
});
